-- GENERATED SPELL FOR [Enraged Watery Soul] --


function spell0_21109(pUnit, Event) --@Water Bubble Head,Self--
pUnit:FullCastSpellOnTarget(35923,pUnit)
pUnit:RegisterEvent('Sorts_21109', 633, 1)
end

function Sorts_21109(pUnit, Event)
local choix_sorts_21109 = math.random(0, 0)
if choix_sorts_21109 == 0 then
pUnit:RegisterEvent('spell0_21109', 1, 1)
end
end

function mob21109_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21109', math.random(1500, 3000), 1)
end

function mob21109_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21109_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21109_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21109, 1, 'mob21109_Action')
RegisterUnitEvent(21109, 2, 'mob21109_Leave')
RegisterUnitEvent(21109, 3, 'mob21109_Kill')
RegisterUnitEvent(21109, 4, 'mob21109_Die')
